package old;

/**
 * @program: spring-demo1
 * @author: JCM
 * @create: 2023-06-11 11:37
 * @description:
 **/
public class Bottom {
    private Tire tire;

    public Bottom(int size) {
        tire = new Tire(size);
    }

    public void Init() {
        // 底盘依赖于轮胎
        System.out.println("执行了底盘初始化：");
        tire.Init();
    }
}
